package com.ma.schoolproject.service;

import cn.dev33.satoken.util.SaResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ma.schoolproject.entitys.User;

import java.util.Map;

public interface UserService extends IService<User> {
    SaResult selectUser(String id);

    SaResult updateUser(User user);

    SaResult saveUser(User user);

    SaResult pageUser(Integer page, Integer size, Map<String, Object> searchMap);
}
